package com.danny.componenttest

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.danny.componentbase.ServiceFactory

class FragmentActivity: AppCompatActivity(){

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_fragment)

        ServiceFactory.serviceFactory.getAccountService().newUserFragment(
                this,
                R.id.layout_fragment,
                supportFragmentManager,
                null,
                ""
        )
    }
}